home *** CD-ROM | disk | FTP | other *** search
/ c't freeware shareware 1999 February / CT_SW9902.ISO / pc / software / entwickl / codebib / spwld221.sit / SpriteWorld 2.2.1 Update / Read Me next >
Text File  |  1999-03-02  |  1KB  |  12 lines

  1. Use this update package to bring SpriteWorld 2.2 up to version 2.2.1. Only two minor changes were made since 2.2 was released:
  2.  
  3. • Modified SWCollideSpriteLayer and SWCollideCircularSpriteLayer so it is now safe to call SWRemoveSpriteFromAnimation (but not SWRemoveSprite) to remove as many Sprites as you want from any SpriteLayer from within your collideProc. Note that it is still unsafe to do this from a MoveProc or FrameProc. For those routines, it is only safe to remove the srcSpriteP that is passed to that function, or Sprites from Layers other than the one the srcSpriteP is in. But your collideProc may remove any Sprite(s) it wishes without any problems.
  4.  
  5. • Fixed a bug where SWCreateRegionFromGWorldAndRect wouldn't work correctly. This bug wouldn't have affected you unless you called this function directly, or called BlitPixie8BitFlipSprite on a Sprite with a maskRgn.
  6.  
  7. The flexibility that was added to SWCollideSpriteLayer was considered important enough to warrant this update, even though little else has changed since 2.2.
  8.  
  9.  
  10. To make the update, simply drop the SpriteLayer.c, SpriteWorldUtils.c, and SpriteWorld.c files into the SpriteWorld Files -> sources folder to replace the existing version of those files. Circular Scrolling.c goes in the SpriteWorld Files -> Utils folder. Also, replace the previous "What's New in 2.2" and "Inside SpriteWorld" files with the new versions of those files.
  11.  
  12. -Vern